package com.yang.common;

import com.yang.lineChart.CreateTPSLine;
import com.yang.utils.AddTextToImg;

public class Main {
    public static void main(String[] args) {
        String jtlFile = "./01.jtl";
        String imgOutPath = "./tps.png";
        String newImgOutPath = "./new_tps.png";
        String text = "00:00:00    00:00:30    00:01:00    00:01:30    00:02:00    00:02:30    00:03:00    00:03:30    00:04:00    00:04:30    00:05:00";

        CreateTPSLine.createLine(jtlFile, imgOutPath);
        AddTextToImg.drawTextInImg(imgOutPath, text,newImgOutPath, 100, 446, 12.0f);
    }
}
